package com.hqyj.shop.service;

import com.hqyj.shop.pojo.Recipient;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hqyj.shop.util.ResultVo;

import javax.servlet.http.HttpServletRequest;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author rock
 * @since 2024-10-15 03:22:38
 */
public interface RecipientService extends IService<Recipient> {
    /**
     * 添加收货人
     * @param r
     * @param request
     * @return
     */
    ResultVo addRecipient(Recipient r, HttpServletRequest request);

    /**
     * 查询我的收货人列表
     * @param request
     * @return
     */
    ResultVo queryRecipient( HttpServletRequest request);
}
